
package nccloud.bs.arap.txdj.maintain.rule.audit;

import nc.impl.pubapp.pattern.rule.IRule;
import nc.vo.ml.NCLangRes4VoTransl;
import nc.vo.arap.amortization.AggAmortizationVO;
import nc.vo.pubapp.pattern.exception.ExceptionUtils;
import nccloud.arap.util.tool.AllotBillStatus;

public class CheckEnableUnauditRule implements IRule<AggAmortizationVO> {
        public void process(AggAmortizationVO[] vos) {
        AggAmortizationVO[] var2 = vos;
                int var3 = vos.length;

                for (int var4 = 0; var4 < var3; ++var4) {
            AggAmortizationVO vo = var2[var4];
                        Integer fstatusflag = vo.getParentVO().getApprovestatus();
                        if (fstatusflag !=1 && fstatusflag !=2) {
                                ExceptionUtils.wrappBusinessException(
                                                NCLangRes4VoTransl.getNCLangRes().getStrByID("4009001_0", "04009001-0020"));
                        }
                }

        }
}
